lib/cleanup: Port some of the cleanup code to fd-relative and new style
authorColin Walters <walters@verbum.org>
Fri, 21 Apr 2017 01:26:17 +0000 (21:26 -0400)
committerAtomic Bot <atomic-devel@projectatomic.io>
Mon, 24 Apr 2017 14:45:19 +0000 (14:45 +0000)
commit3f1bcab27f1f6ee77e4a8d2a88858ed2e6d2aa70
tree5a1f801348b118db44062d90d9513137ea46bb7e
parent50ca653ff6216ce7b4ccff8eed5c00d62a43e7c2
lib/cleanup: Port some of the cleanup code to fd-relative and new style

There aren't many users of `g_file_enumerator_iterate()` left - those
remaining are usually good candidates for porting.  There's some more
porting to do in this file; a mix of trivial and harder.  This
one is a good candidate for an individual commit.

Closes: #803
Approved by: jlebon
src/libostree/ostree-sysroot-cleanup.c
src/libostree/ostree-sysroot-deploy.c
src/libostree/ostree-sysroot-private.h